package com.yinian.cart.repository;


import com.yinian.cart.entity.OrderList;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface OrderListRepository extends JpaRepository<OrderList, Integer>, JpaSpecificationExecutor {
    List<OrderList> findAllByUserAccountOrderByOrderTimeDesc(int userAccount);
}
